/**
 * 
 */
package anysware.gwt.client;

import java.util.EventObject;

/**
 * TODO: doc me
 * 
 * @author keke<keke@codehaus.org>
 * @revision $Revision: 102 $
 * @version
 */
public class ApplicationEvent extends EventObject {
	/**
	 * 
	 */
	private static final long	serialVersionUID	= 6844289407363697817L;
	private final Object	  data;
	private final int	      eventType;

	public ApplicationEvent(final Object source, final int eventType,
	        final Object data) {
		super(source);
		this.eventType = eventType;
		this.data = data;
	}

	public Object getData() {
		return data;
	}

	public int getEventType() {
		return eventType;
	}
}
